// 页面公共样式，非公用样式写在各个组件里
/**
 * 样式重置
 */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  // background: $bg-color;
  user-select: none;
}

.webView {
  width: 100%;
  height: 100%;
}

#app {
  height: 100%;
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:-webkit-any-link {
  color: inherit;
}

ul,
li,
ol {
  list-style: none;
}

p {
  margin: 0;
  padding: 0;
}

.left {
  float: left;
}

.right {
  float: right;
}

.download-link {
  color: $color-main;
}

/**
 * 页面基础布局样式
 */
.login_form {
  .el-checkbox {
    font-weight: 400;
    margin-bottom: 20px;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #606266;
  }

  .to-register {
    text-align: right;
    font-size: 14px;
  }

  a {
    color: #4896ec;
  }
}

.el-submenu__title {
  padding-left: 30px !important;

  i {
    width: 20px;
  }
}

.back-page {
  color: #4896ec;
  font-size: 14px;
}

.card-centont {
  //display: flex;
  //justify-content: center;
  .el-form {
    margin: 20px 0;
    //width: 35%;
  }
}

.el-menu-item {
  padding: 0 !important;
  overflow: hidden;
}

.el-menu-item-group .el-menu-item {
  padding-left: 15px !important;
}

.view_page {
  margin: 10px;
  //padding-bottom: 65px;
}

.fixed-buttons {
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  line-height: 60px;
  background: #fff;
  position: fixed;
  z-index: 1;
  text-align: center;
  -webkit-box-shadow: 0 -3px 12px 0 rgba(0, 0, 0, .1);
  box-shadow: 0 -3px 12px 0 rgba(0, 0, 0, .1);
}

.el-menu-item-group__title {
  padding: 0;
}

.view_page .el-card__header {
  padding: 0 20px;
}

.view_page .clearfix {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clearfix .menu-title {
  font-weight: bold;
}

.view_page .clearfix > div {
  height: 100%;
}

.view_page {
  .el-select,
  .el-cascader,
  .el-date-editor.el-input {
    width: 100%;
  }

}

.query-operate {
  background: #f0f0f0;
  margin: 0 0 20px;
  padding: 10px 20px;
}

.page-box-title {
  font-weight: bold;
}

.el-table td,
.el-table th {
  padding: 8px 0;
}

.query-operate .el-form-item {
  margin: 0;
}

.clearfix .el-form-item {
  margin: 8px 0;
  display: inline-block;
}

.el-submenu .el-menu-item {
  min-width: initial;
}

.drawer-body {
  .el-form--label-top .el-form-item__label {
    padding: 0 !important;
  }
}

// 详情页面样式
.details-class {
  width: 100%;

  .details-class-title {
    min-height: 30px;
    background: #f2f2f2;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    b {
      display: inline-block;
      width: 3px;
      height: 16px;
      background: #ed2f2d;
      position: relative;
      top: 2px;
    }
  }

  .details-content {
    padding: 15px 0;

    .bg-purple {
      text-align: right;
      color: #999;
    }

    .grid-content {
      min-height: 36px;
      line-height: 36px;
    }
  }
}


/*表格*/
.el-table .cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-center .cell {
  display: flex;
  justify-content: space-evenly;
}

.is-center .cell i {
  font-size: 16px;
  cursor: pointer;
}

.form-assembly {
  width: 450px;
  margin: 50px auto;
}

.el-input-group__append button {
  padding: 0 10px;
}

.drawer .el-tabs__nav-scroll {
  display: flex;
  justify-content: center;

  #tab-first {
    font-weight: normal;
  }
}

/*详情分隔红条*/
.DividerLine {
  border: solid 2px red;
  margin-right: 5px;
}

/*详情内容包裹的div样式*/
.detailDiv {
  margin: 0 150px;
}

/**/
.contentLine {
  margin: 10px 0;
}

.labelDiv {
  margin-right: 10px;
  width: 120px;
  float: left;
  text-align: right;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}


.operating-year-button {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 235px;
  height: 555px;
  top: 375px;
  left: 160px;

  .the-year {
    width: 100%;
    height: 54px;
    margin-bottom: 110px;
    cursor: pointer;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .the-third-year, .the-fourth-year {
    margin-bottom: 112px;
    height: 57px;
  }
}

.pay-button {
  position: absolute;
  width: 145px;
  height: 50px;
  cursor: pointer;
}

.tables .el-table--border {
  border: 0;
}

.tables .el-table th,
.tables .el-table tr {
  background: rgba(0, 0, 0, 0);
  border: 0;
}

.tables .el-table td {
  border: 1px solid #4090af;
  color: #fff;
}

.filter .el-input input,
.ul-style .el-input input {
  width: 160px;
}


.year-summary-header {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 30px;
}

.year-summary-body {
  .echart-container {
    min-height: 350px;

    img {
      width: 100%;
    }
  }

  p {
    margin: 10px 0;
  }

  table {
    width: 100%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 20px;

    tr {
      td {
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding: 5px 20px;
      }

      &:first-child {
        font-weight: bold;
      }
    }
  }
}

.tables-vg {
  position: absolute;
  top: 340px;
  right: 85px;
  width: 260px;
  border-top: 1px solid #74fbfd;
  border-left: 1px solid #74fbfd;

  tr {
    td {
      padding: 5px 10px;
      border-bottom: 1px solid #74fbfd;
      border-right: 1px solid #74fbfd;
      color: #fff;
    }
  }
}

.summary-content {
  overflow: hidden;
}

.ckeditor {
  display: flex;
  padding-left: 80px;
  justify-content: space-between;
}

.pho {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  object-fit: cover;
}

.phonestyle {
  width: 100%;
  height: 100%;
  font-size: 18px !important;
  line-height: 27px;
  color: #333333;
  padding-left: 15px;
  padding-right: 15px;
  box-shadow: 0 2px 12px 0;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.phonestyle::-webkit-scrollbar {
  width: 0 !important;
}

.centont {
  /* width: 375px; */
  height: 700px;
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 0px !important;
  /* background-image: url("https://www.xiaoyoushengxue.com/file/iphone.png"); */
  background-image: none;
  background-size: 100% 100%;
  padding: 50px 30px 35px 30px;
  border: 1px solid #ccc !important;
}

.hui {

  background-color: #F5F7FA;
  color: #C0C4CC;
  border: 1px solid #E4E7ED;
  padding-left: 10px;
}

.list-name {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
